import Home from '../views/Home'
import About from '../views/About'
import Detail from '../views/Detail'
const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home,
  },
  {
    path: '/about',
    name: 'About',
    component: About,
    children: [
      {
        path: '/about/news',
        name: 'news',
        comments: '.'
      }
    ]
  },
  {
    path: '/detail',
    name: 'Detail',
    component: Detail,
  }
]
export default routes;